package com.fishery.handler;

import com.fishery.entity.Result;
import com.fishery.client.BaseClient;
import org.springframework.stereotype.Component;


@Component
public class BaseServiceFallback implements BaseClient {


	@Override
	public Result getBaseInfo(String baseId) {
		return Result.error("服务繁忙，获取基地信息失败");
	}

	@Override
	public Result getPondInfo(String baseId) {
		return Result.error("服务繁忙，获取池塘信息失败");
	}


	@Override
	public Result getAllPondInfo(String baseId) {
		return Result.error("服务繁忙，获取池塘信息失败");
	}

	@Override
	public Result getAmountOfVariousGermchit(String baseId) {
		return Result.error("服务繁忙");
	}

	@Override
	public Result searchAmountInfoOfBaseSupply(String baseId) {
		return Result.error("服务繁忙");
	}

	@Override
	public Result searchAmountInfoOfBaseSupplyIn(String baseId) {
		return Result.error("服务繁忙");	}

	@Override
	public Result searchAmountInfoOfBaseSupplyOut(String baseId) {
		return Result.error("服务繁忙");	}
}
